package com.tsing.bms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.bms.entity.House;
import com.tsing.bms.vo.req.*;
import com.tsing.bms.vo.resp.HouseRageRespVo;
import com.tsing.bms.vo.resp.HouseRespVo;
import com.tsing.bms.vo.resp.IdAndNameRespVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2021-03-29
 */
public interface IHouseService extends IService<House> {

    void addHouse(HouseAddReqVo reqVo);

    void deleteHouse(IdsReqVo reqVo);

    HouseRespVo getHouseById(IdReqVo reqVo);

    void updateHouse(HouseUpdateReqVo reqVo);

    Page<HouseRageRespVo> housePage(HousePageReqVo reqVo);

    void updateBalance(UpdateBalanceReqVo reqVo);

    List<IdAndNameRespVo> userList(NameReqVo reqVo);

}
